﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.SysUserModel
{
    public class batchUserModel
    {
        /// <summary>
        ///  登录名前缀
        /// </summary>
        [Required]
        public string loginUser { get; set; }
        /// <summary>
        ///  密码
        /// </summary>
        [Required]
        public string loginPwd { get; set; }
        /// <summary>
        ///  创建用户数量
        /// </summary>
        [Required]
        public int userLen { get; set; }
        /// <summary>
        ///  用户所属单位：代码
        /// </summary>
        public string userUnit { get; set; }
        /// <summary>
        ///  所属单位：名称
        /// </summary>
        public string unitCode { get; set; }
        /// <summary>
        ///  绑定机器码最大数量
        ///  0：不限制
        /// </summary>
        public int maxMachine { get; set; }
        /// <summary>
        ///  性别
        /// </summary>
        [Required]
        public string userSex { get; set; }
        /// <summary>
        ///  充值金额
        /// </summary>
        public int buyGold { get; set; } = 0;
        /// <summary>
        ///  赠送金额
        /// </summary>
        public int giveGold { get; set; } = 0;
    }
}
